package com.yunduansing.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色部门表，即数据权限，只用选择第一级就行
 * </p>
 *
 * @author yunduansing
 * @since 2020-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_role_depart")
@ApiModel(value="RoleDepartEntity对象", description="角色部门表，即数据权限，只用选择第一级就行")
public class RoleDepartEntity implements Serializable {

    private static final long serialVersionUID=1L;

    private Integer roleId;

    private Integer departId;

    @ApiModelProperty(value = "是否包含下属部门：0-不包含、1-包含")
    private Boolean containsChild;


}
